<!DOCTYPE HTML>
<html>

<head>
    <title> 会员发票信息</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="../../../assets/css/dpl-min.css" rel="stylesheet" type="text/css"/>
    <link href="../../../assets/css/bui-min.css" rel="stylesheet" type="text/css" />
    <link href="../../../assets/css/page-min.css" rel="stylesheet" type="text/css" />
    <link href="../../../assets/css/prettify.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <div class="container">
        <div class="detail-page">
            <h3>会员发票信息</h3>
            <hr>
            <div class="detail-section">
                <div class="detail-row">
                    <form id="" class="form-horizontal well">
                        <div class="row ">
                            <div class="control-group span6">
                                <label class="control-label">会员账户:</label>
                                <div class="controls">
                                    <input name="" type="text" class="input-small control-text">
                                </div>
                            </div>
                            <div class="control-group span6">
                                <label class="control-label">发票抬头:</label>
                                <div class="controls">
                                    <input name="sid" type="text" class="input-small control-text">
                                </div>
                            </div>
                            <div class="control-group span8">
                                <label class="control-label">开具类型:</label>
                                <div class="controls">
                                    <select class="normal-input" name="" id="">
                                        <option value="">请选择</option>
                                        <option value="">个人</option>
                                        <option value="">企业</option>
                                    </select>
                                </div>
                            </div>
                            <div class="control-group span12">
                                <label class="control-label">发票类型:</label>
                                <div class="controls">
                                    <select name="" id="">
                                        <option value="">请选择</option>
                                        <option value="">增值税普通发票</option>
                                        <option value="">增值税专用发票</option>
                                    </select>
                                </div>
                            </div>
                            <div class="control-group span2 pull-right">
                                <button type="submit" class="button  jx-button">搜索</button>
                            </div>
                        </div>
                    </form>
                    <!-- 表格 start-->
                    <div id="grid"></div>
                    <!-- 表格 end-->
                </div>
            </div>
        </div>
    </div>
    </div>
    <script type="text/javascript" src="../../../assets/js/jquery-1.8.1.min.js"></script>
    <script type="text/javascript" src="../../../assets/js/bui-min.js"></script>
    <script type="text/javascript" src="../../../assets/js/config-min.js"></script>
    <script type="text/javascript" src="../../../assets/js/extensions/distpicker.js"></script>
    <script type="text/javascript">
    BUI.use('common/page');
    </script>
    <!-- script start -->
    <script>
    $('#distpicker1').distpicker();
    BUI.use(['bui/grid', 'bui/data', 'bui/tab'], function(Grid, Data, Tab) {
        var Grid = Grid,
            Store = Data.Store,
            columns = [{
                title: '会员账户',
                dataIndex: 'a',
                elCls: 'center', //居中
                width: 100
            }, {
                title: '发票抬头',
                elCls: 'center',
                dataIndex: 'b',
                width: 200
            }, {
                title: '纳税人识别号',
                elCls: 'center',
                dataIndex: 'c',
                width: 200
            }, {
                title: '开具类型',
                elCls: 'center',
                dataIndex: 'd',
                width: 200
            }, {
                title: '发票类型',
                elCls: 'center',
                dataIndex: 'e',
                width: 200
            }, {
                title: '开户行',
                dataIndex: 'f',
                elCls: 'center',
                width: 200
            } ],
            data = [{
                id: '1222',
                a: '13322231788',
                b: '上海激想体育文化股份有限公司',
                c: ' ',
                d: '企业',
                e: '增值税专用发票',
                f: '平安银行金桥支行',
                },{
                id: '1222',
                a: '13322231788',
                b: '上海激想体育文化股份有限公司',
                c: ' ',
                d: '企业',
                e: '增值税专用发票',
                f: '平安银行金桥支行',
                }];
        var store = new Store({ //初始化数据
                data: data,
                pageSize: 2 // 配置分页数目
            }),
            grid = new Grid.Grid({
                render: '#grid',
                elCls: 'small-bui-grid-table',
                width:1200,
                columns: columns,
                bbar: {
                    // pagingBar:表明包含分页栏
                    pagingBar: true
                },
                store: store
            });
        grid.render();
    });
    </script>
    <!-- script end -->

    <body>

</html>
